﻿using Basic.FormDAL;
using Basic.FormRemoteModel.FormDataSourceItem.Model;

namespace Basic.FormCollect.lmpl
{
    internal class DataSourceItemCollect : IDataSourceItemCollect
    {
        private readonly IDataSourceItemDAL _BasicDAL;

        public DataSourceItemCollect ( IDataSourceItemDAL basicDAL )
        {
            this._BasicDAL = basicDAL;
        }

        public SourceItem[] GetItems ( string sourceKey )
        {
            return this._BasicDAL.GetItems(sourceKey);
        }
    }
}
